home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / SNNSV32.ZIP / SNNSv3.2 / build next >
Text File  |  1994-04-25  |  2KB  |  89 lines

  1. #!/bin/csh
  2.  
  3. # ****************************************************************************
  4. #  FILE     : build
  5. #  SHORTNAME: build
  6.  
  7. #  PURPOSE  : Shell scipt to call make 
  8. #          1) kernel in the directory kernel/source
  9. #          2) X user interface in xgui/source
  10. #          3) compiler in compiler/source (commented out )
  11. #          4) tools in tools/source
  12.  
  13. #  AUTHOR   : Tilman Sommer, Niels Mache, Thomas Korb, Ralf Huebner
  14. #  DATE     : 22.05.91 (A. Zell)
  15.  
  16. #  MODIFICATIONS:
  17. #  22.05.91: cosmetic changes
  18. #  19.08.93: tools added (R. Huebner)
  19. #  12.04.94: all rule removed (R. Huebner)
  20.  
  21. #             (c) 1990-94 by SNNS-Group
  22. #             Institut fuer parallele und verteilte Hoechstleistungsrechner
  23. #             Universitaet Stuttgart
  24. # ****************************************************************************
  25.  
  26.  
  27.  
  28. echo "************************************************"
  29. echo "*                                              *"
  30. echo "*  SNNS  - Stuttgart Neural Network Simulator  *"
  31. echo "*                                              *"
  32. echo "*         building SNNS version 3.2 ...        *"
  33. echo "*                                              *"
  34. echo "************************************************"
  35. echo ""
  36. set rootdir = `echo $cwd`
  37. if ( $1 == 'all' || $1 == 'kernel' || $1 == 'sim') then
  38.     echo "Building kernel ... "
  39.     cd kernel/sources
  40.     echo "Compiling ..."
  41.     make
  42.     echo "Installing ..."
  43.     make install
  44.     cd ../.. 
  45.     echo "Done."
  46.     echo ""
  47. else
  48. endif
  49.  
  50. if ( $1 == 'all' || $1 == 'xgui' || $1 == 'sim') then
  51.     echo "Building XGUI ... "
  52.     cd xgui/sources
  53.     echo "Compiling ..."
  54.     make
  55.     echo "Installing ..."
  56.     make install
  57.     cd ../.. 
  58.     echo "Done."
  59.     echo ""
  60. else
  61. endif
  62.  
  63. #if ( $1 == 'all' || $1 == 'compiler') then
  64. #    echo "Building compiler ... "
  65. #    cd compiler/sources 
  66. #    echo "Compiling ..."
  67. #    make
  68. #    echo "Installing ..."
  69. #    make install
  70. #    cd ../.. 
  71. #    echo "Done."
  72. #    echo ""
  73. #else
  74. #endif
  75.  
  76.  
  77. if ( $1 == 'all' || $1 == 'tools' ) then
  78.     echo "Building Tools ... "
  79.     cd tools/sources
  80.     echo "Compiling ..."
  81.     make
  82.     echo "Installing ..."
  83.     make install
  84.     cd ../.. 
  85.     echo "Done."
  86.     echo ""
  87. else
  88. endif
  89.